/*
 * @Description: 
 * @Author: HKH
 * @Date: 2024-10-11 08:58:07
 * @LastEditors: HKH
 * @LastEditTime: 2024-10-11 08:58:25
 */
public class IMyRunnable implements Runnable {
    // 重写run方法
    @Override
    public void run() {
      // 线程要处理的内容
      String name = Thread.currentThread().getName();
      for (int i = 0; i < 10; i++) {
        System.out.println(name + ":" + i);
      }
    }
  }